package cn.zf233.xcloud.config.common;

import cn.zf233.xcloud.commom.GenerateTimeInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by zf233 on 2020/7/30
 * MyBatis 配置类
 */
@Configuration
public class MybatisConfiguration {
	
	@Bean
	public GenerateTimeInterceptor generateTimeInterceptor() {
		return new GenerateTimeInterceptor();
	}
}